import { Module } from '@nestjs/common';
import { ShopService } from './shop.service';
import { ShopController } from './shop.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Shop } from './entities/shop.entity';
import { UserModule } from '../../admin/user/user.module';
import { MoneyModule } from '../money/money.module';
import { UserItemModule } from '../user-item/user-item.module';

@Module({
  imports: [
    TypeOrmModule.forFeature([Shop]),
    UserModule,
    MoneyModule,
    UserItemModule,
  ],
  controllers: [ShopController],
  providers: [ShopService],
  exports: [ShopService, TypeOrmModule],
})
export class ShopModule {}
